﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class relatorios_r_desenvolvimento_por_solucao_e_tipo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public string GetSituationColor(string situation)
    {        
        switch (situation.ToLower())
        {
            case "pendente": return "color: #ee6666; font-weight: bold";
            case "autorizado": return "color: #5a9063; font-weight: bold";
            case "testado": return "color: #385ea5; font-weight: bold";
            case "enviado": return "color: #df7732; font-weight: bold";
            case "finalizado": return "color: #336633; font-weight: bold";
            case "negado": return "color: #bf0000; font-weight: bold";
            case "realizado": return "color: #black; font-weight: bold;";
            default: return "color: black;";
        }        
    }
}